package com.jy.rhin.model.body.fuyou;


import com.jy.rhin.infra.cda.EDataElement;
import com.jy.rhin.infra.cda.XPath;
import com.jy.rhin.infra.cda.XValid;
import lombok.Data;

@Data
public class FYZhuanZhenJY {
	@XPath(model = "code", codePath = "/entry/observation/code[@code='DE06.00.174.00'][@codeSystem='2.16.156.10011.2.2.1']",
			path = "/value/@value", xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE06_00_174_00))
	String zhuanZhenBZ;
	
	@XPath(path = "/entry/observation/entryRelationship/act/text", xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE06_00_177_00,nullable=true))
	String zhuanZhenYY;
	
	@XPath(model = "code", codePath = "/entry/observation/code[@code='DE06.00.174.00'][@codeSystem='2.16.156.10011.2.2.1']",
			path = "/entryRelationship/act/performer/assignedEntity/representedOrganization/name/text()", xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE06_00_177_00,nullable=true))
	String zhuanRuKS;
	
	@XPath(model = "code", codePath = "/entry/observation/code[@code='DE06.00.174.00'][@codeSystem='2.16.156.10011.2.2.1']",
			path = "/entryRelationship/act/performer/assignedEntity/representedOrganization/asOrganizationPartOf/wholeOrganization/name/text()", xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE06_00_177_00,nullable=true))
	String zhuanRuJG;
}
